//
//  LNMainModule.m
//  FBSnapshotTestCase
//
//  Created by 陆宁 on 2019/12/25.
//

#import "LNMainModule.h"
#import "LNMainServiceProtocol.h"
#import "LNMainViewController.h"
@interface LNMainModule()<BHModuleProtocol>

@end

@implementation LNMainModule
+ (void)load
{
    [BeeHive registerDynamicModule:[self class]];
}

- (id)init{
    if (self = [super init])
    {
        NSLog(@"LNHomeModule init");
    }
    
    return self;
}

-(void)modInit:(BHContext *)context
{
    NSLog(@"模块初始化中");
}

- (void)modSetUp:(BHContext *)context
{
    [[BeeHive shareInstance]  registerService:@protocol(LNMainServiceProtocol) service:[LNMainViewController class]];
}

@end
